package com.vhall.component.entity.vote.vo.room;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author longzhen.gong
 * @date 2021/7/7 17:33
 */
@Data
public class PushReqVO implements Serializable {
    private static final long serialVersionUID = 2406853979496027971L;
    @NotNull(message = "vote_id参数异常")
    @ParamName("vote_id")
    private Long voteId;

    @NotBlank(message = "room_id参数异常")
    @ParamName("room_id")
    private String roomId;
}
